package one.stand.zuul.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

@Configuration
@ConditionalOnProperty(prefix = "one.scheduling", name = "enable", havingValue = "true", matchIfMissing = false)
@EnableScheduling
public class SchedulingAutoConfiguration {
}
